<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.0.0}" rel="stylesheet"/>
    <link href="../static/css/style.css" th:href="@{/css/style.css}" rel="stylesheet"/>
    <link href="../static/js/lingshui/bootstrap-table/bootstrap-table.min.css" th:href="@{/js/lingshui/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
	<link href="../static/css/workboard.css" th:href="@{/css/workboard.css}" rel="stylesheet"/>
</head>

<body>
    <div class="container-div">
        <div class="tabsnav search-collapse">
            <ul class="nav_tabs">
                <li class="tab-item active" dy-id="/enterprise/enterpriseOutProvince/qiyejibnexinxi">基本信息</li>
                <li class="tab-item" dy-id="/enterprise/enterpriseOutProvince/qiyezizhi">企业资质</li>
                <li class="tab-item" dy-id="/enterprise/enterpriseOutProvince/qiyeyejixinxiall">业绩信息</li>
                <li class="tab-item" dy-id="/enterprise/enterpriseOutProvince/qiyerenyuanall">企业人员</li>
                <li class="tab-item" dy-id="/enterprise/enterpriseOutProvince/qiyelianghaoxinxi">良好行为</li>
                <li class="tab-item" dy-id="/enterprise/enterpriseOutProvince/qiyebuliangxinxi">不良行为</li>
                <li class="tab-item" dy-id="/enterprise/enterpriseOutProvince/chengxinpingjia">诚信评价</li>
                <li class="tab-item">返回</li>
            </ul>
        </div>
        <div class="tabsbody ">
            <iframe id="iframeMain" frameborder="0" src="/enterprise/enterpriseAll/qiyejibnexinxi" scrolling="no" onload="setIframeHeight(this)"
                style="width: 100%;"></iframe>
        </div>
    </div>
    <script src=" https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"> </script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <script src="../static/js/lingshui/bootstrap-table/bootstrap-table.min.js" th:src="@{/js/lingshui/bootstrap-table/bootstrap-table.min.js}"></script>
    <script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=3.2.0}"></script>
    <script>
        $(document).ready(function () {


            $('.nav_tabs li').click(function () {
                $(this).addClass('active').siblings().removeClass('active');
                var index = $(this).index();
                $(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
                $("#iframeMain").attr("src", $(this).attr("dy-id"));
                if($(this).text() == '返回'){
              	   /* window.history.back(-1); */
              	   window.location.href="/enterprise/enterpriseAll";  
              	   /* var state = {
			          title: "index",
			          url: "/enterprise/enterpriseAll"
			        };
			        window.history.pushState(state, "index", location.href); */
                 };
            })
        })
        // iframe
        function setIframeHeight(iframe) {
            if (iframe) {
                var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
                if (iframeWin.document.body) {
                    iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document
                        .body.scrollHeight;
                }
            }
        };
    </script>
</body>

</html>